package com.sgb.link.api;


import com.sgb.link.entity.LogisticsFlowLog;
import com.swgk.core.base.model.entity.BaseEntity;
import com.swgk.core.base.model.entity.ListResponse;
import com.swgk.core.view.areapopup.AddressEntity;

import java.util.List;
import java.util.Map;

import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.DELETE;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;

public interface LogisticsAPI {

    //获取三级地址列表
    @GET("logistics/freight/area/getAllAreaList")
    Call<BaseEntity<List<AddressEntity<List<AddressEntity<List<AddressEntity>>>>>>> getCityList();

    //物流详情埋点
    @POST("logistics/operate/buriedPoint")
    Call<BaseEntity> buriedPoint(@Body LogisticsFlowLog flowLog);
}
